package com.hduong.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * Created by dudu on 2020/3/14.
 */
@SpringBootApplication
@EnableEurekaClient//启动 服务发现 客户端 只能Eureka专用
@EnableDiscoveryClient// 可以被启动注册中心 ： 服务端发现
public class ProviderPayment8001 {
    public static void main(String[] args) {
        SpringApplication.run(ProviderPayment8001.class, args);
    }
}
